<div id="flashcontent_<{$widgets_id}>">
<{assign var="allimg" value=''}>
<{assign var="alllink" value=''}>
<{foreach from=$setting.flash item=aitem key=key}>
<{if $aitem['pic']}>
<{assign var="allimg" value="{$aitem['pic']}|{$allimg}"}>
<{assign var="alllink" value="{$aitem['link']}|{$alllink}"}>
<{/if}>
<{/foreach}>
  <object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='<{$setting.width|default:995}>' height='<{$setting.height|default:320}>' id='main_flash' align='middle'>
  <param name='allowScriptAccess' value='always' />
  <param name='movie' value='images/flash_visual.swf' />
  <param name='FlashVars' value='' />
  <param name='wmode' value='transparent' />
  <param name='menu' value='false' />
  <param name='quality' value='high' />
  <param name='bgcolor' value='#ffffff' />
  <embed src='images/flash_visual.swf' FlashVars='' wmode='transparent' menu='false' quality='high' bgcolor='#ffffff' width='<{$setting.width|default:995}>' height='<{$setting.height|default:320}>' name='main_flash' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />
  </object>
</div>
